<?php

// +----------------------------------------------------------------------
// | 存放业务状态码相关配置
// +----------------------------------------------------------------------

return [
    'success' => 1,
    'error' => 0,
    'not_login' => 0,
    'user_is_register' => 0,

    'system_error' => 10,
    'controller_not_found' => 11,
    'action_not_found' => 12,

    'auth' => 1000,
    'error_add' => 1001,
    'error_update' => 1002,
    'error_delete' => 1003,
    'sms_send_fail' => 1004,
    'super_admin_delete' => 1005,
    'admin_login_error' => 1006,
    'get_info_error' => 1007,
    'upload_error' => 1008,

    'register_error' => 1100,
    'password_nosame' => 1101,
    'sms_error' => 1102,
    'find_password_user' => 1103,
    'password_error' => 1104,
    'username_exist' => 1105,
    'wx_not_bind' => 1106,
    'qq_not_bind' => 1107,
];
